package blogcatback.service;

import blogcatback.entity.Result;
import blogcatback.entity.User;
import blogcatback.vo.UserVO;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.data.relational.core.sql.In;

import java.util.List;

/**
 * @author Lijingjing
 * @date 2024/8/19 16:11
 * @description 用于定义具体业务的接口
 * Iservice传入的对象仍然是User类，因为User是用于和数据库交互的
 */
public interface UserService extends IService<User> {

     Result<UserVO> login(String username, String password,boolean isAdmin);

     Result<UserVO> regist(UserVO userVO);





}
